<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><!--JBuilder QuickDoc-->
<HEAD>
<TITLE>Class Navigator</TITLE><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
</HEAD>
<BODY>

<H2>
<FONT SIZE="-1"></FONT>
<BR>Class Navigator</H2>
<DL>
<DT>public class <B>Navigator</B><DT>extends javax.microedition.lcdui.Canvas<DT>implements java.lang.Runnable, javax.microedition.lcdui.CommandListener
</DL>
<DL><DD><p>Title: Navigator </p> <p>Description: Provides a user friendly interface to display received NMEA data. Data is retrieved from the NMEA class, formatted and displayed.</p> <p>Copyright: Copyright (c) 2005</p> <p>@author David So</p><DL><DD></DD></DL></DD>
</DL>
<DL><DT><B>Version:</B><DD>1.0</DD>
</DL>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF"><TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B>
</FONT></TD></TR></TABLE>

<A NAME="formatTime(java.lang.String)"></A>

<H3>formatTime</H3>
<PRE>
public static java.lang.String <B>formatTime</B>(java.lang.String&nbsp;t)</PRE>
<DL><DD>Time in format "HHMMSS.sss" change to HH:MM:SS<DL><DD></DD></DL></DD>
</DL>
<DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - String</DD>
<DT><B>Returns:</B><DD>String</DD>
</DL>
<HR>

<A NAME="formatDate(java.lang.String)"></A>

<H3>formatDate</H3>
<PRE>
public static java.lang.String <B>formatDate</B>(java.lang.String&nbsp;d)</PRE>
<DL><DD>Date format "Ddmmyy" to "dd/mm/yy"<DL><DD></DD></DL></DD>
</DL>
<DL><DT><B>Parameters:</B><DD><CODE>d</CODE> - String</DD>
<DT><B>Returns:</B><DD>String</DD>
</DL>
<HR>

<A NAME="formatLon(java.lang.String)"></A>

<H3>formatLon</H3>
<PRE>
public static java.lang.String <B>formatLon</B>(java.lang.String&nbsp;lon)</PRE>
<DL><DD>Formats coordinates from "DDDMM.mmmm" to "DDD° MM.mmmm'"<DL><DD></DD></DL></DD>
</DL>
<DL><DT><B>Parameters:</B><DD><CODE>d</CODE> - String</DD>
<DT><B>Returns:</B><DD>String</DD>
</DL>
<HR>

<A NAME="formatSNR(java.lang.String)"></A>

<H3>formatSNR</H3>
<PRE>
public static java.lang.String <B>formatSNR</B>(java.lang.String&nbsp;snr)</PRE>
<DL><DD>Formats SNR and removing checksum data which appears<DL><DD></DD></DL></DD>
</DL>
<DL><DT><B>Parameters:</B><DD><CODE>d</CODE> - String</DD>
<DT><B>Returns:</B><DD>String</DD>
</DL>
<HR>

</BODY>
</HTML>